package com.ruoyi.vote.admin.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 微信订阅消息模板视图对象 wx_sub_tamp
 *
 * @author 筑巢
 * @date 2023-07-25
 */
@Data
@ExcelIgnoreUnannotated
public class WxSubTampVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 模板ID
     */
    @ExcelProperty(value = "模板ID")
    private String tampId;

    /**
     * 模板编号
     */
    @ExcelProperty(value = "模板编号")
    private Long tampNumber;

    /**
     * 模块
     */
    private String tempModel;

    /**
     * 模板标题
     */
    @ExcelProperty(value = "模板标题")
    private String title;

    /**
     * 是否可用
     */
    @ExcelProperty(value = "是否可用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private String status;


    /**
     * 小程序跳转地址
     */
    private String path;
}
